<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>角色列表</title>
    <#include "/common/resource.ftl">
</head>
<body>
    <div class="ui-location"><span><i class="fa fa-location-arrow"></i>角色列表</span></div>
    <div class="ui-operation">
        <div class="ui-search-items layui-form">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">多规则验证:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="number" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">验证日期</label>
                    <div class="layui-input-inline">
                        <input type="text" name="date" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">验证链接</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="url" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
        <#--<div class="ui-searchs">
            <div class="search-item">
                <label>姓名：</label>
                <div class="value"><input type="text" placeholder="姓名"/></div>
            </div>
            <input type="button" value="搜索" class="layui-btn layui-btn-danger search-button"/>
        </div>-->
        <div class="ui-buttons">
            <div class="layui-btn-group tools">
                <button class="layui-btn layui-btn-normal open-dialog"  p="url:'${params.contextPath}/view/user/user_edit.htm',title:'添加用户',width:'600px',height:'400px'"><i class="fa fa-plus"></i>添加</button>
                <button class="layui-btn layui-btn-normal open-dialog"><i class="fa fa-pencil"></i>修改</button>
                <button class="layui-btn layui-btn-normal open-dialog"><i class="fa fa-remove"></i>删除</button>
                <button class="layui-btn layui-btn-normal open-dialog"><i class="fa fa-play"></i>启用</button>
                <button class="layui-btn layui-btn-normal open-dialog"><i class="fa fa-stop"></i>停用</button>
            </div>
            <div class="ui-searchs">
                <div class="value" style=""><input type="text" placeholder="姓名"/></div>
                <input type="button" value="搜索" class="layui-btn layui-btn-danger search-button"/>
            </div>
        </div>
    </div>
    <div class="ui-content">
        <table id="datagrid" options="url:'${params.contextPath}/web/user/list.json'">
            <thead>
                <tr>
                    <th data-options="field:'id',checkbox:true">Item ID</th>
                    <th data-options="field:'userName',width:100">用户名</th>
                    <th data-options="field:'account',width:150">账号</th>
                    <th data-options="field:'email',width:150">电子邮件</th>
                    <th data-options="field:'phone',width:100">手机号码</th>
                    <th data-options="field:'stateStr',width:60,align:'center'">状态</th>
                    <th data-options="field:'createTimeStr',width:130,align:'center'">创建时间</th>
                </tr>
            </thead>
        </table>
    </div>
</body>

</html>
